<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="dictDeviceModelList" checkbox="true" fitColumns="true" title="开放课程管理" actionUrl="labOpenController.do?openLessonDatagrid&labId=${id}" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建日期"  field="createDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="实验室编号"  field="lab.no"  queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="实验室名称"  field="lab.name"    queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="开放课程"  field="lessonInfo.lessonName"     query="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="labOpenController.do?delOpenLesson&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="labOpenController.do?goAddOpenLesson&id=${id}" funname="add" height="150" width="490"></t:dgToolBar>
  </t:datagrid>
  </div>
</div>
